package net.xi.news.service;

import com.baomidou.mybatisplus.extension.service.IService;
import net.xi.news.pojo.SysUser;
import net.xi.news.pojo.User;

public interface UserService extends IService<SysUser> {

    //查找用户实现匹配
    User checkUser(String username,String password);

    /**
     * 按id查询用户
     * @param id
     * @return
     */
    SysUser findUserById(Long id);
}
